<%--
  Created by IntelliJ IDEA.
  User: admin
  Date: 2019/1/7
  Time: 14:32
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%
    String path= request.getContextPath();
    String  basePath=request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path;
%>
<%@taglib uri="http://java.sun.com/jsp/jstl/core"  prefix="c"%>
<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt" %>
<%@ taglib prefix="C" uri="http://java.sun.com/jsp/jstl/core" %>
<html>
<head>
    <title>拍卖展示</title>
    <link rel="stylesheet" href="<%=basePath%>/statics/backcss/css/salldetail.css" type="text/css">
    <script type="text/javascript" src="<%=basePath%>/plugins/jquery.min.js"></script>
</head>
<body>
<div class="nav_area">
    <div class="container">
        <div class="navbar">
            <div class="navbar-inner">
                <div class="container">
                    <div class="nav-collapse">
                        <ul class="nav">
                            <li class="nav_index"><a href="<%=basePath%>/canvas/listdo">首页</a></li>
                            <li class="nav_bidding"><a href="#">开拍标的</a></li>
                            <li class="nav_announcement"><a href="#">拍卖公告</a></li>
                            <li class="nav_information"><a href="<%=basePath%>/sall/salls">拍卖资讯</a></li>
                            <li class="nav_case"><a href="#">成交案例</a></li>
                            <li class="nav_source"><a href="#">资产源提报</a></li>
                            <li class="nav_mine"><a href="<%=basePath%>/sall/index">我的拍卖</a></li>
                            <li class="nav_about"><a href="#">关于我们</a></li>
                        </ul>
                    </div>
                </div>
            </div>
        </div>
    </div>
</div>
<div class="container">
    <div class="container bd_d8" style="height: 490px;overflow: auto;">
    <c:forEach items="${applicationScope.salls }" var="sall">
        <c:forEach  items="${applicationScope.canvasOnSall}" var="canvas">
            <c:choose>
                <c:when test="${sall.cid==canvas.cid}">
                    <li class="item">
                        <img src="../statics/image/${canvas.img}" class="ig"/>
                        <h2>${canvas.name}</h2>
                        <p>${canvas.description}</p>
                        <div class="itemlink">
                            <a class="link" href="salldetail?cid=${sall.cid}">竞拍</a>
                        </div>
                    </li>
                </c:when>
            </c:choose>
        </c:forEach>
    </c:forEach>
    </div>
</div>
<hr style="box-sizing: border-box;background-color:#333;border: solid 1px #d8d8d8;both;overflow:hidden;margin-top:60px ;" />

</body>
</html>
